package ch19_command;

/**
 * @author guodd
 * @version 1.0
 */
public class Girl {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void order(Boy boy) {
        Command command = new ShoppingCommand();
        boy.addCommand(command);
        boy.executeCommands();
    }
}
